home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Guided Tour of Multimedia (Second Edition)
/
The Guided Tour of Multimedia (Second Edition).iso
/
trials
/
director
/
evalcopy
/
director.z
/
NAVIGATR.DIR
/
00152_Field_152.txt
< prev
next >
Wrap
Text File
|
1994-06-14
|
569b
|
21 lines
Noh_Tale, 48
--This handler provides random branching to "NT.Branch" or
--frame "11a" of the current movie.
--random() generates a random number between 1 and
--the number in the parentheses. In this case, random(2)
--generates 1 or 2. If the result of random(2) is 2,
--Director branches to the movie "NT.Branch". Otherwise,
--it plays Scene 11a of the current movie.
on exitframe
global increment, P
put random(2) into P
set newP = P
if newP = 2 then play frame "11a"
if newP = 1 then play frame "11b-1" of movie "NTBranch"
end